package com.jic.market.request.rest.coupon;

import java.io.Serializable;

import com.jic.market.request.rest.base.RestBaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author: gaolanyu
 * @date: 2020-01-17
 * @remark:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "领券接口")
public class CouponReceiveOfPersonRequest extends RestBaseRequest implements Serializable {

    @NotNull(message = "缺少 token 参数")
    @ApiModelProperty(notes = "登录token",required = true)
    private String token;

    @ApiModelProperty(hidden = true)
    private String thirdUserId;

    @ApiModelProperty(notes = "用户手机号" , hidden = true)
    private String mobile;

    @NotNull(message = "缺少 优惠券编码 参数")
    @ApiModelProperty(notes = "优惠券编码",required = true)
    private String promotionId;
}
